package com.study.biz;

import java.util.List;

import com.study.bean.Firstbrands;
import com.study.bean.Firstgoods;
import com.study.dao.Firstbrandsdao;

public class Firstbandsbiz {
		
		private Firstbrandsdao dao;
		public Firstbandsbiz() {
				dao=new Firstbrandsdao(Firstbrands.class);
		}
	
		//Ʒ�ƣ����ѣ�KONKA����ѯ
		public List<Firstbrands> goodskjian(){
			return dao.brandskon();
		}
		//Ʒ�ƣ�KKTV��ѯ
		public List<Firstbrands> goodskktv(){
			return dao.brandskktv();
		}
		
		//根据类别lid查询
		public List<Firstbrands> brandskjlid(int lid,int pageNo,int pageSize){
			return dao.brandskjlid(lid,pageNo, pageSize);
		}
		
		public List<Firstbrands> brandskktvlid(int lid,int pageNo,int pageSize){
			return dao.brandskktvlid(lid,pageNo, pageSize);
		}
		
		
		public int countkjia(int lid) {
			return dao.countkjia(lid);
		}
		

		public int countkktv(int lid) {
			return dao.countkktv(lid);
		}
}		



